replace lua with clojure