model: privatize some thread functions