4th lesson: Refactoring