 {
   Serial.begin(9600);
   state = IDLE;
+  Serial.println('System Begins!');
   digitalWrite(softpotPin, HIGH); //enable pullup resistor
   randomSeed(analogRead(5));
   digitalWrite(ledPin, LOW);

	initSelectedXBee = selectedXBee;
	previousSelected = 0;
	released = false;
	state = VERIFY;
      }
    }

  // all related events are detected here
  gesture_t returnV = gNONE; 
  softpotReading = analogRead(softpotPin);
  /* DEBUG_PRINT("   gStart_time: "); */
  /* DEBUG_PRINT(gStart_time); */
  /* DEBUG_PRINT("   clicks: "); */
  /* DEBUG_PRINT(clicks); */
  /* DEBUG_PRINT("   gState: "); */
  /* DEBUG_PRINT(gState); */
  /* DEBUG_PRINT("   Softpot Reading: "); */
  /* DEBUG_PRINTLN(softpotReading); */

  if (clicks > 0 && (millis() - gStart_time) > gResolution) {
    gState = gIDLE;
