exercises 4.51 through 52