refactoring day pt 1