added datomic queries