rename a method