better clojure style thanks to tips from brandon