Finished exercise 7