Working on ques 3 and 4