added problem 3 question 1