finished exercise without doubles