Finished exercise 1.13