rename method and make public