Refactoring exercises, Metis boot camp week 7.