changes to the model