finished exercise 4  models