add datomic helper functions