Refactoring: Extracted method