actually finished exercise 6