                (om/build title app)
                (om/build numseq app)
                (om/build counter-view app {})
+               (dom/div nil "Uses wrapper, works")
                (dom/ul nil
-                      (om/build group-view-new app {}))
+                       (om/build group-view-wrapper app))
+               (dom/div nil "Uses wrapper2, works")
+               (dom/ul nil
+                       (om/build group-view-wrapper2 (:groups app)))
+               (dom/div nil "Uses wrapper3, fails")
+               (dom/ul nil
+                       (om/build group-view-wrapper3 (first (:groups app))))
+               (dom/div nil "Build-all, fails")
                (apply dom/ul nil
-                      (om/build-all group-view (nums/group-signatures (:up-to app))))))))
+                      (om/build-all group-view (:groups app)))))))
 
 
 (om/root groups-view

  "Extend the range of numbers we are looking at"
  [app]
  (om/transact! app :up-to #(nums/ceil (* % 1.5)))


(defn numseq [app]

              " [" (nums/vector-magnitude signature) "]"
              (dom/br nil)
              (count numbers) ": "
              (dom/span #js {:onClick (fn [e] (om/set-state! owner :expanded (not expanded)))}
                        (dom/small nil
                                   (dom/i nil
                                          (if expanded
                                            (str/join ", " numbers)
                                            "{Click to expand}"))))))))


(defn group-view-wrapper
  "Render the contents of one group (set) of numbers."
  [app owner]
  (let [[signature numbers] (first (:groups app))]
    (group-view [signature numbers] owner)))

(defn group-view-wrapper2
  "Render the contents of one group (set) of numbers."
  [app-group owner]
  (let [[signature numbers] (first app-group)]
    (group-view [signature numbers] owner)))

(defn group-view-wrapper3
  "Render the contents of one group (set) of numbers."
  [app-group owner]
  (let [[signature numbers] app-group]
    (group-view [signature numbers] owner)))


(defn groups-view
