                       `:height 80}}]
        [text {:style {:color "black"
                       :text-align "center"
-                      :font-weight "bold"}} "DOT DOT DOT"]])))
+                      :font-weight "bold"}}
+                      (if (number? (read-string @state))
+                          (str (to-pounds @state))
+                          (str "Not a number" @state (rand 10))
+                          )]])))
 
 (defn init []
-      (dispatch-sync [:initialize-db])
-      (.registerComponent app-registry "HelloReNatal" #(r/reactify-component app-root)))
+  (dispatch-sync [:initialize-db])
+  (.registerComponent app-registry "HelloReNatal" #(r/reactify-component app-root)))

                       :width 80
                       :height 80
                       :margin-bottom 30}}]
          [text-input {:style {:height 40}
                       :on-change-text #(do
                                         (reset! state %)
                                         (r/flush))
                       :value @state}]
       [touchable-highlight {:style {:background-color "#999"
                                     :padding 10
                                     :border-radius 5}
                             :on-press #(alert "hello...")}
        [text {:style {:color "white" :text-align "center" :font-weight "bold"}} "press me"]]
       [view {:style {:background-color "#000"
                      `:height 80}}]

(def logo-img (js/require "./images/cljs.png"))

(defn alert [title]
  (.alert (.-Alert ReactNative) title))

(def pounds-per-kilogram 0.45359237)
(defn to-pounds
  [weight]
  (* weight pounds-per-kilogram))

(defn app-root []
  (let [greeting (subscribe [:get-greeting])
