Finished exercise 1.19