Worked on question 1