 
   for (i = 0; i < numOfLeds; i += steps) {
 
-    leds[i].setRGB(red, green, blue);
+    leds[i] = color;
   }
 
   FastLED.show();


  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;



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

    leds[i] = CRGB::Black;
  }

  FastLED.show();
  delay(wait);
}

void blinkingParts(CRGB *leds, int numOfLeds, int parts, CRGB color, int duration) {

  int i, steps, wait;

