updated models to have examples for datastore with some helper functions