partly exercise 1.9