problem_1_refactoring