doing Question 6