Added code base for question 3