first exercises without refactoring