Complete exercise 10