model-methods function

Accessor for the model