Complete exercise 7