3 lines to 1 - Refactoring