Complete exercise 1-10