changed visibility of some methods