   cyclotron.show(); // Initialize all pixels to 'off'
 }
 
-int pwr_interval = 60;       // interval at which to cycle lights for the powercell.
-int cyc_interval = 1000;      // interval at which to cycle lights for the cyclotron.
-int cyc_fade_interval = 1;   // fade the inactive cyclotron to light to nothing
-
 void loop() {
   // get the current time
   int currentMillis = millis();
   if( powerBooted == false ){
-	powerSequenceBoot(currentMillis);
+    powerSequenceBoot(currentMillis);
   } else {
-	powerSequenceOne(currentMillis, pwr_interval, cyc_interval, cyc_fade_interval);
+    powerSequenceOne(currentMillis, pwr_interval, cyc_interval, cyc_fade_interval);
   }
   delay(1);
 }
 
-int cyclotronRunningFadeOut = 255;
+int cyclotronRunningFadeOut = 255;  // we reset this variable every time we change the cyclotron index so the fade effect works
+int cyclotronRunningFadeIn = 0;     // we reset this to 0 to fade the cyclotron in from nothing
 void setCyclotronLightState(int startLed, int endLed, int state ){
   switch ( state ) {
     case 0: // set all leds to red

        setCyclotronLightState(c3Start, c3End, 2);
        setCyclotronLightState(c4Start, c4End, 1);
        
        doUpdate = true;
        reverseBootCyclotron = false;
      }
    }

int c4Start = 3;
int c4End = 3;

unsigned long prevPwrBootMillis = 0;    // the last time we changed a powercell light in the boot sequence
unsigned long prevCycBootMillis = 0;    // the last time we changed a cyclotron light in the boot sequence
unsigned long prevPwrMillis = 0;        // last time we changed a powercell light in the idle sequence
unsigned long prevCycMillis = 0;        // last time we changed a cyclotron light in the idle sequence
unsigned long prevFadeCycMillis = 0;    // last time we changed a fading cyclotron light in the idle sequence

// LED indexes into the neopixel powerstick chain for the cyclotron
const int powercellLedCount = 14;   // total number of led's in the animation
int powerSeqNum = 0;                // current running powercell sequence leds

// animation level trackers for the boot and shutdown
int currentBootLevel = 0;                          // current powercell boot level sequence led
