Complete exercise 1-6