wip -- the datomic way