question 3.5

optimization