added all fact generations needed by datomic
added special methods