Update Exercise 15.51.r