added the model object.  Need to add all of the functions