creating the model