       SetColor(i, false, false, false);
   }
   
-  Send();
+  Send(hat);
   
   hat++;
   Serial.print("Hat: ");

#define PULSE_LENGTH 170
#define REPEAT_TRANSMIT 2

#define START_BUTTON_PIN 10
#define FUNCTION_BUTTON_PIN 11
#define START_BUTTON_LIGHT 12
#define FUNCTION_BUTTON_LIGHT 6

Button startButton = Button(START_BUTTON_PIN, BUTTON_PULLUP, false, 0);

      // reset all hats
      for(int i=0; i<4; i++)
        SetColor(i, false, false, false);
      Send(-1);

      // randomize the number of laps around
      winningHat = random(0,3);
