finished exercise 13-SD1