moved everything to clojure