try to access protected method outside the class