added shabby datomic code