Finish problem 3