exercise 1.27 completed