rename method and changed scope of other