change accessibility of a method and set it public