Finished exercise 2_3