completed to exercise 7