Finish exercise 11.5