Finished exercise 17