 
       target_changes = (sliderVal - softpotInitV) / target_slider_threshold;      
       selectedXBee = initSelectedXBee + target_changes;
+      DEBUG_PRINT(", target_changes=");
+      DEBUG_PRINTLN(target_changes);
+      
+      // *** add loop here  for targets
       if (selectedXBee < 0) {
         selectedXBee = 0;
       }

#define CONNECTED 5

// #define SOFTPOT_DELTA_THREASHOLD 80
#define TARGET_DELTA_THRESHOLD 80
#define DELAY_IN_WAIT 1000000

unsigned long session_id;// = 0xA90;

  }
  delay(10);

  return; //*** for debuggin purpose?
  
  switch(state) {
    case IDLE:
