changed the way instances of data models can be accessed