           statePending = true;
           eighty_twenty = true;
         }
-        
-        
+      } else if(strcmp(p.data, "TAR")) {
+        //turn on target light and return ack
+        sendXBeePacketFromRaw(&XBee, deviceId, "A", "SEL", "TAR");
+        digitalWrite(ledTargetPin, HIGH);
 
       } 
+
     }
     else if (atoi(p.id) == atoi(deviceId)) {
       

        laptopBridging(p);
      } else if(strcmp(deviceId, deviceLamp) == 0) {
        lampClient(p);
      }
    }
  }

int ledStatePin = 13;
int ledSignalPin = 11;
int controlledPin = 12;
int ledTargetPin = 10;

int RECV_PIN = 8;
IRrecv irrecv(RECV_PIN);
