completed exercise 9-1