finished exercise 11, SD1 and SD2