work on problem 10