Refactoring method signature