made a method protected