Started code for Question 3