rename method detector