add question 4 solution