       #ifdef DUBUG_BUILD
       Serial.println(message_str);
       delay(2000);
+      #endif
+    }
+    else {
+      set_run_state(0);
+      #ifdef DUBUG_BUILD
+      Serial.print("no messages in queue");
+      Serial.print(", party is over. run_state: ");
+      Serial.println(run_state);
       #endif
     }
   }

  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);     

}

