refactoring: rename a method