finished exercise 10, SD4