 
 void smooth()                                           // Cleans up photocell input
 {
-  int readings[numReadings];                            // the readings from the analog input
-  int index = 0;                                        // the index of the current reading
-  int total = 0;                                        // the running total
-  int average = 0;                                      // the average
+//  int index = 0;                                        // the index of the current reading
+//  int total = 0;                                        // the running total
+//  int average = 0;                                      // the average
+//  int readings[numReadings];                            // the readings from the analog input
+
 
   for (int thisReading = 0; thisReading < numReadings; thisReading++)
     readings[thisReading] = 0;

int brightSwitchIn =    12;      // Auto Brightness
int dstSwitchIn =       13;      // Savings Time Switch

// Variables
int dstState;                    // DST
int reminderState;               // Switch (Reminder)
int autoBrightState;             // Switch (Auto-Dimmer)
int photoCellRead;               // Photo Cell
int autoBrightAverage;           // Photo Cell
long previousMillis;             // For counting of xfade timer
int counter;                     // Counts notes played
int fadeAmount = 2;              // 420 LED
int numReadings = 25;            // Smoothing function: # of Readings
int neoBrightness = 100;         // Neopixel Shield
boolean running = false;         // Colon On/Off


  int clockBrightness = map(clockKnob, 0, 1023, 2, 15);
  int lightKnob = analogRead(nightLightIn);
  int lightBrightness = map(lightKnob, 0, 1023, 50, 255);        // Backlight
  int autoBright1 = map(autoBrightAverage, 390, 1000, 2, 15);
  int autoBright2 = map(autoBrightAverage, 390, 1000, 50, 255);

  autoBrightState = digitalRead(brightSwitchIn);                 // Adjust Brightness (if Auto Switch On)
  if (autoBrightState == 1)
