U3L6 - Refactoring solution | ScratchStats