continue to work on problem 9