changed how the model is modified