                      "_"))
 
         ;; returns main table
+        
         (defn rethinkdb-possibledb-table []
           (-> @app :possibledb-table possibledb-table-name))
 
         ;; clj->js has a bug for datoms => workaround is used later
+        
         (defn clj->json [x]
           (-> x
               clj->js

            (println "Creating RethinkDB connection")
            
            ;; create connection for rethinkdb
            (doto r
              (.connect (rethinkdb-config)
                        (fn [err conn]

              (catch js/Object ex (println ex)))

            ;; no recur
            
            (unsub pub-main :rethinkdb-create-db c)))
        
        ;; create rethink-db POSSIBLEDB table(s)
        
        (let [c (chan)]
          (sub pub-main :create-possibledb-tables c)

