changes to model