        break;
      }
   break;
+
+case Count_down:
+     now = RTC.now(); // fetch the time
+     // Write to LCD
+     if(now.second()>current_second){
+       current_second=now.second();
+       if(current_second>=59){current_second=0;}
+       remaining_seconds=end_seconds-(now.hour()*3600.0+now.minute()*60.0+now.second());
+       UpdateTime(now,remaining_seconds);
+     }
+     
+     if (remaining_seconds<((NUM_LEDS-turned_on_leds)*seconds_between_drops)){
+       pos = pos + step;
+     }
+
+     if(red_button_On){
+        red_button_pressed=1;
+        hue=0;
+     }
+     if(green_button_On){
+        green_button_pressed=1;
+        hue=100;
+     }
+     if(blue_button_On){
+        blue_button_pressed=1;
+        hue=160;
+     }
+
+     if (pos==turned_on_leds) {
+       pos = NUM_LEDS;
+       turned_on_leds++;
+     }
+
+     leds[pos] = CHSV(hue, 255, 255);
+   
+     FastLED.show();
+     fadeall();
+     if (turned_on_leds>=NUM_LEDS){
+      if(!red_button_pressed | !green_button_pressed | !blue_button_pressed){
+        Beep(1000,440,500);Beep(1000,220,10);
+      }
+      red_button_pressed=0; green_button_pressed=0; blue_button_pressed=0; hue=default_hue;   // Reset buttons and color for next round
+      alloff();condition=Ending;change_time=long(now.hour())*3600+long(now.minute())*60+long(now.second());  }
+     
+break;
     
-  case Count_down:
+case Timer:
      //Serial.println("Count_down");
      now = RTC.now(); // fetch the time
      // Write to LCD

       now = RTC.now(); // fetch the time
       now_seconds=long(now.hour())*3600+long(now.minute())*60+long(now.second());
       condition=Count_down;
       wait_time=2;
       Beep(600,440,200);Beep(600,880,200);
       remaining_seconds=120;

int current_second = 0;  // Used to check frequency of time update on LCD
long now_seconds, end_seconds, remaining_seconds, change_time=0;  // now in seconds since 00:00:00, end time in seconds, count down of remain seconds
float seconds_between_drops;
static uint8_t default_hue=50;
static uint8_t hue = default_hue;
/*
 * 50=yellow
 * 100=green
 * 160=blue
 * 0=red
 */
static uint8_t hue_step = 24;
static uint8_t tail = 180;
static int step = -1;
