Finish exercise 7.61