finished exercise sheet 2