   (GET "/:subject/:object/:possessive-determiner/:possessive-pronoun/:reflexive" {params :params}
        {:status 200
         :headers {"Content-Type" "text/plain"}
-        :body (str (:subject params) " goes to the park")})
+        ;; ew this is super gross there's certainly a better way
+        :body (let [{:keys
+                     [subject object possessive-determiner possessive-pronoun reflexive]}
+                    params]
+                (render-examples-page subject
+                                      object
+                                      possessive-determiner
+                                      possessive-pronoun
+                                      reflexive))})
   (ANY "*" []
        (route/not-found (slurp (io/resource "404.html")))))
 


(def config {:default-server-port 5000})

(defroutes app-routes
  (GET "/" []
       {:status 200

      trace/wrap-stacktrace))

(defn -main []
  (let [port (Integer. (:port env
                              (:default-server-port config)))]
    (jetty/run-jetty app {:port port})))

;; For interactive development:
