   if (run_state) {
     if (message_count > 0) {
       process_message();
-    }
-    #ifdef DUBUG_BUILD
-    Serial.println(message_str);
-    delay(2000);
-    #endif
+      #ifdef DUBUG_BUILD
+      Serial.println(message_str);
+      delay(2000);
+      #endif
+    }
   }
 }
 

// run_node(n1);
void run_node(int n_index) {
  #ifdef DUBUG_BUILD
  debug("test of run_node");
  debug(nodes[n_index].name);
  #endif
}

void set_run_state(short new_state) {

    set_run_state(0);
    return;
  }
  e_index = get_edge("msg", msg, -1);
  if (e_index < 0) {
    e_index = get_edge("flo", msg, -1);
  }
  if (e_index < 0) {
    #ifdef DUBUG_BUILD
