Finish problem 8