PORT THE CLOJURE TO ES6 BECAUSE Y NOT