changing visibility of private methods