Added answer for question 1