In class work on model and controller