finish problem 10