 
             if (LEDsEnabled)
             {
-                for(std::vector<Flash*>::iterator it = flashes.begin(); it != flashes.end(); )
+                for(std::vector<Animation*>::iterator it = animations.begin(); it != animations.end(); )
                 {
-                    Flash* flash = *it;
-                    if (!flash->update(time))
+                    Animation* animation = *it;
+                    if (!animation->update(time))
                     {
-                        it = flashes.erase(it);
-                        delete flash;
+                        it = animations.erase(it);
+                        delete animation;
                     }
                     else
                     {


BackEase ease;

std::vector<Flash*> flashes;

uint16_t OuterLED(uint16_t n)
{

        if (LEDsEnabled)
        {
            Flash* flash = new Flash(OuterLED(currentDateTime.second()), 1.15, Brightness, 0, 0);
            animations.push_back(flash);
        }
        
        unsigned long timeSinceLastTick = millis() - lastSecondMillis;
