Kind of finished exercise 6.