   for (i = center; i < numOfLeds; i++) {
 
     inv = (numOfLeds - i) - 1;
-    leds[i].setRGB(red, green, blue);
-    leds[inv].setRGB(red, green, blue);
+    leds[i] = color;
+    leds[inv] = color;
     FastLED.show();
     delay(wait);
   }


  for (i = 0; i < numOfLeds; i++) {

    leds[i].setRGB(red, green, blue);
    FastLED.show();
    delay(wait);
    leds[i].setRGB(0, 0, 0);
    FastLED.show();
  }

  for (i = (numOfLeds - 1); i > 0; i--) {

    leds[i].setRGB(red, green, blue);
    FastLED.show();
    delay(wait);
    leds[i].setRGB(0, 0, 0);
    FastLED.show();
  }
}

void progressbar(CRGB *leds, int numOfLeds, int red, int green, int blue, int duration) {

  int i, wait;


  }
}

void sparkleAtRandomIndex(CRGB *leds, int numOfLeds, CRGB color, int ms){
  int randomIndex = random8(numOfLeds);
  sparkleAt(randomIndex, leds, numOfLeds, color, ms);
}

void flashyShit(CRGB *leds, int numOfLeds, int ms, int maxIntensity){
  int middle = numOfLeds / 2;
  int randred,randgreen,randblue;
  
  for (int i = 0; i < numOfLeds / 2; i ++){
    randred = random8(maxIntensity);
    randgreen = random8(maxIntensity);
    randblue = random8(maxIntensity);
    
    leds[middle + i] = CRGB(randred,randgreen,randblue);
    leds[middle - i] = CRGB(randred,randgreen,randblue);
    FastLED.show();
    delay(ms / (numOfLeds / 2));
    
    leds[middle + i] = CRGB::Black;
    leds[middle - i] = CRGB::Black;
    FastLED.show();
  }
  
  for (int i = numOfLeds / 2; i >= 0; i --){
    randred = random8(maxIntensity);
    randgreen = random8(maxIntensity);
    randblue = random8(maxIntensity);
    
    leds[middle + i] = CRGB(randred,randgreen,randblue);
    leds[middle - i] = CRGB(randred,randgreen,randblue);
    FastLED.show();
    delay(ms / (numOfLeds / 2));
    
    leds[middle + i] = CRGB::Black;
    leds[middle - i] = CRGB::Black;
    FastLED.show();
  
  }
}

void randomIndexFill(CRGB *leds, int numOfLeds, CRGB color, int ms){
  int ledsOn[numOfLeds];
  memset(ledsOn, 0, sizeof(ledsOn));
  int onCounter = 0;
