Complete exercise 1-7