change some protected methods to private