changed visibility to protected