eTest 3 question 1 refactored