  
 // Pin 13 has an LED connected on most Arduino boards.
 // give it a name:
-int led = 13;
+//int led = 13;
 String inputString = "";         // a string to hold incoming data
 boolean stringComplete = false;  // serial inputString is complete
 
-boolean intComplete = false;
-int node_index = 0;
 Node nodes[10];
-int edge_index = 0;
 Edge edges[10];
 
 // hbumtf parser vars.
 // state 0=outside_com, 1=loading, 2=nodes, 3=edges 
 int state = 0;
+// run_state 0=not_running, 1=running, 2=on_hold
 short run_state = 0;
 boolean graph_loaded = 0;
-
+boolean run_noisy = 0; 
 
 // message queue
 short message_count = 0;

  debug(e_type);
  debug(e_part2);
  #endif
  if (msg[0] == '\0')  {
    #ifdef DUBUG_BUILD
    debug("no msg in pm");
    #endif
    set_run_state(0);
    return;
  }
  if (e_type == "msg") {
    e_part2.toCharArray(e2, 11);
    e_index = get_edge("msg", e2, -1);

  Serial.begin(9600);
  // reserve 200 bytes for the inputString:
  inputString.reserve(200);
  //pinMode(led, OUTPUT);     

}

