exercise 2.55 completed