Complete problem 2