exercise 1.7 completed