Finish exercise 9.