Finished exercise 1.15