changed visibility of methods