change some functions to private