define the model