     } else {
       // if the safety is switched off play the click track
       if (safety == true) {
-        setWandLightState(2, 4, 0);    //set body off
+        setWandLightState(2, 4);    //set body off
         safety = false;
         playTrack(clickTrack);
       }

int cyc_interval = 1000;      // interval at which to cycle lights for the cyclotron.
int cyc_fade_interval = 15;   // fade the inactive cyclotron to light to nothing
int firing_interval = 40;     // interval at which to cycle firing lights on the bargraph. We update this in the loop to speed up the animation so must be declared here (milliseconds).
int wandFlashInterval = 1000; // interval at which we flash the top led on the wand

void loop() {
  // get the current time

    }

    if( startup == true && safety_switch == 1 ){
      if( venting == false && powerBooted == true ){
        setWandLightState(2, 3);    //set body blue
      }else{
        setWandLightState(2, 4);    //set body blue
      }
    }
    
    // if the safety switch is set off then we can fire when the button is pressed
