exercise 1.21 completed