Finish exercise 1.11