exercise 2.56 completed