 
 // the loop routine runs over and over again forever:
 void loop() {
-  
   if (addColor(sequence)) {
-    // this is an error, but we dont care
+    Serial.print("addColor error");
+    
   }
-  for (int i = 0; i < sequence.length; i++){
+  Serial.print("The sequence is ");
+  for (int i = 0; i < sequence.len; i++){
     Serial.print(sequence.sequence[i]);
   }
   Serial.println("");
+  Serial.print("The length is ");
+  Serial.println(sequence.len);
+  Serial.print("RX_Sequence length is ");
+  Serial.print(sizeof(RX_Sequence));
   displaySequence(sequence);
-
   radio.stopListening();
+  Serial.println(" waiting to write");
   radio.write(&sequence, sizeof(RX_Sequence));
 
-
   // will be high when waiting for a response
+  radio.startListening();
   digitalWrite(13, HIGH);
-  byte correctSequence = -1;
-  while (sequence.length == 0) {
-  }
-  while (correctSequence == -1) {
+  byte correctSequence = 3;
+  Serial.println("before loop");
+  while (correctSequence == 3) {
     if (radio.available()) {
       radio.read(&correctSequence, sizeof(byte));
     }

// 0 means end of array

typedef struct RX_Sequence {
  byte sequence[BUFFER_SIZE];
  int length;
};

RX_Sequence sequence;

void displaySequence(RX_Sequence sequence) {
  setAllLow();
  int i;
  for (i = 0; i < sequence.len; i++) {
    setColorHigh(sequence.sequence[i]);
    delay(COLOR_DURATION);

