completed exercise 9