Somewhat more idiomatic Clojure.