Finish exercise 9.2