some work on clojure traingle prob