Finished exercise 1.34