made changes to model