completed exercise 7