rename method and change its interface