model: privatize some functions