         // if(atoi(p.id) == atoi(deviceId)) {
         if(strcmp(p.id, deviceId) == 0) {
           digitalWrite(ledStatePin, HIGH);  
+
           //turn off target led if selected correctly
           digitalWrite(ledTargetPin, LOW);  
+          replyStatus();
         } else {
           digitalWrite(ledStatePin, LOW);  
         }

  }
}

void laptopBridging(struct XBeePacket p) {
  // make sure you send back ack
  DEBUG_PRINTLN("command issued");

  Serial.begin(9600);
  pinMode(ledStatePin, OUTPUT);
  pinMode(ledSignalPin, OUTPUT); 
  pinMode(controlledPin, OUTPUT);
  pinMode(ledTargetPin, OUTPUT); 
  Serial.println("system begins!");
  // set the data rate for the SoftwareSerial port
  XBee.begin(9600);
