         float level = sin(i+pos) * 255;
         strip.setPixelColor(i,(int)level,0,0);
     }
-
+    
     return 20;
 }
 
 uint8_t analogClock() {
     colorAll(strip.Color(0, 0, 0)); // Black
-
+    
     int secondIndex = Time.second() * 0.4;
     int minuteIndex = Time.minute() * 0.4;
     int hourIndex = Time.hourFormat12() * 2;
-
+    
+    // // draw a fading trail behind the second hand
+    // // start at 0 V, at secondIndex + 1
+    // // slowly increase V up to 255 at secondIndex
+    // int v = 0;
+    // for(int i = 0; i < strip.numPixels(); i++) {
+    //     int j = secondIndex + 1 + i;
+    //     if(j >= strip.numPixels())
+    //         j -= strip.numPixels();
+        
+    //     strip.setPixelColor(j, hsv(240, 255, v));
+        
+    //     v += 10;
+    // }
+    
     // hour hand is red
     // minute hand is green
     // second hand is blue
-
+    
     // if all hands are at the same position, draw a white pixel
-    if(secondIndex == minuteIndex == hourIndex) {
+    if(secondIndex == minuteIndex && minuteIndex == hourIndex) {
         strip.setPixelColor(secondIndex, strip.Color(255, 255, 255));
     }
     // if the second and minute hands are at the same position, draw a cyan pixel

        power = 0;
    else if (power > 1)
        power = 1;

    return power;
}


        power = -12;
    else if (power > 13)
        power = 13;
    
    Time.zone(timezone);
    
    if(timezone < 0)
        EEPROM.write(1, 0);
    else
        EEPROM.write(1, 1);
    
    EEPROM.write(2, abs(timezone));
    
    return power;
}

