Video 33 finished refactored code