                         (dom/input #js {:className   "form-control"
                                         :onChange    #(statement (.. % -target -value))
                                         :placeholder "Find Statement"}))
-               (let [vals (get-in @lib/app-state [:discussion :search :values])
-                     vals-dict (for [[k v] vals] {k v})]
-                 (println vals-dict)
-                 (apply dom/div nil
+               (println (prepare-search-results))
+               #_(apply dom/ol #js {:className "foobar"}
+                        (om/build-all item-view (lib/get-bubbles)))
+               #_(apply dom/div nil
                         (om/build-all item-view vals-dict
-                                      )))
+                                      ))
                ))))
(defn item-view [data owner]
  (reify om/IRender
    (render [_]
      (println data)
      (dom/div #js {:id (str (lib/prefix-name "search-item-") (swap! counter inc))}
               (dom/div nil data)
               (println data)))))

(defn view []
  (reify om/IRender

;(def data (atom {}))
(def counter (atom 0))

(defn prepare-search-results
  "Extract values and create a list of maps."
  []
  (let [vals (get-in @lib/app-state [:discussion :search :values])
        vals-dict (for [[k v] vals] {k v})]
    (vec vals-dict)))

(defn statement-handler
  "Called when received a response in the search."
  [response]
