finished exercise 7 from day 3