Modify Exercise 2.57