Finish exercise 18.