Added problem 3