added the ability to create a new model for the view in the controller