Finished exercise 1.14