Finished bare bones of Exercise 52