controller and model finish