converted to using compojure from noir