change protected method to public