Complete exercise 10.1-10.4