Refactoring: change the method signature