change some methods from public to private