Finished exercise 2