refactoring: métodos