 
 (def reconciler
   (om/reconciler {:state val-atom
-                  :parser (om/parser {:read read})}))
+                  :parser (om/parser {:read read :mutate mutate})}))
 
 
 (om/add-root! reconciler App (.getElementById js/document "app"))

(defmethod read :account/balance
  [{:keys [state] :as env} key {:keys [start-date end-date]}]
  {:value (reduce (process-tx-value mean-reducer) {:sum 0 :count 0}
           (vals (:transactions @state)))})

                                        ; VIEWS


         [:td (str (.toLocaleDateString (js/Date. created)))]
         [:td description]
         [:td {:style {:color (if (= type :expense) "#F00" "#0F0")}} value]])
      (sort-by :created > transactions))]]])


(defn transaction-add-button [component]
