question 4 solution added