First Refactoring: Extract Method