 void loop() {
     allOff();
 
-
-
-    runClassic();
-  int blinkMin = 1;
-  int blinkMax = 0;
-  int possibility = random(0, 100);
-
-  if (possibility > 95) { // rare things, only happen 5% of the time
-    switch(random(0, 2)) {
-    case 0:
-      flickerPattern(random(0, 2), random(0, 2));
-      blinkMin = 0;
-      break;
-    case 1:
-      blinkAllOnRandom();
-      blinkMax = 3;
-      break;
-    }
-  } else if (possibility > 70) { // less rare things, happen 25% of the time
-    if (random(0, 200) == 0) {
-      runBackgroundPattern();
-      runLetterPattern();
-    } else {
-      blinkMax = 5;
-
-      runLetterPattern();
-
-      for (int i = 0; i < random(1, 5); i++) {
-        runBackgroundPattern();
-
-        if (random(0, 10) == 0) {
-            blinkLetters(random(1, blinkMax));
-        }
-      }
-    }
-  } else if (possibility > 20) { // the classic coca-cola sign pattern, happen 50% of the time
+    int blinkMin = 1;
+    int blinkMax = 0;
+    int possibility = random(0, 100);
+
+    if (possibility > 95) { // rare things, only happen 5% of the time
+        switch (random(0, 2)) {
+        case 0:
+            flickerPattern(random(0, 2), random(0, 2));
+            blinkMin = 0;
+            break;
+        case 1:
+            blinkAllOnRandom();
+            blinkMax = 3;
+            break;
+        }
+    } else if (possibility > 70) { // less rare things, happen 25% of the time
+        if (random(0, 200) == 0) {
+            runBackgroundPattern();
+            runLetterPattern();
+        } else {
+            blinkMax = 5;
+
+            runLetterPattern();
+
+            for (int i = 0; i < random(1, 5); i++) {
+                runBackgroundPattern();
+
+                if (random(0, 10) == 0) {
+                    blinkLetters(random(1, blinkMax));
+                }
+            }
+        }
+    } else if (possibility > 20) { // the classic coca-cola sign pattern, happen 50% of the time
         runClassic();
 
         blinkMax = 3;
-  } else { // tracer, happens 20% of the time
-    runTracer();
-
-    blinkMax = 1;
-  }
+    } else { // tracer, happens 20% of the time
+        runTracer();
+
+        blinkMax = 1;
+    }
 
     blinkLetters(random(blinkMin, blinkMax));
 

}

void outsideInOnInsideOutOffBackground(int times, int endingWithLightsOn) {
  for (int count = 0; count < times; count++) {
      backgroundOnOutsideIn();
      delay(ish);
    if (count + 1 != times || !endingWithLightsOn) {
      backgroundOffInsideOut();
          delay(ish);
    }
  }
}

void insideOutOnOutsideInOffBackground(int times, int endingWithLightsOn) {
  for (int count = 0; count < times; count++) {
      backgroundOnInsideOut();
      delay(ish);
     if (count + 1 != times || !endingWithLightsOn) {
       backgroundOffOutsideIn();
     }
   }
}

void insideOutOutsideInBackground() {
  for (int i = 0; random(3, 8); i++) {
    if (random(0, 2) == 0) {
      outsideInOnInsideOutOffBackground(random(1, 4), true);
      delay(minimal);

      insideOutOnOutsideInOffBackground(random(1, 4), false);
      delay(minimal);
    } else {
      insideOutOnOutsideInOffBackground(random(1, 4), true);
      delay(minimal);

      outsideInOnInsideOutOffBackground(random(1, 4), false);
      delay(minimal);
    }
  }
}

void racingOnLeftToRightBackground() {
  for (int x = 0; x < sizeof(background); x++) {
    for (int y = 0; y < sizeof(background) - x - 1; y++) {
      digitalWrite(background[y], PATTERN_ON);
      delay(minimal);
      digitalWrite(background[y], PATTERN_OFF);
      delay(none);
    }

    digitalWrite(background[sizeof(background) - x - 1], PATTERN_ON);
    delay(minimal);
  }
}

void blinkBackgroundPairLeftToRight() {
  int half = sizeof(background) / 2;

  for (int count = 0; count < random(5, 10); count++) {
    for (int x = 0; x < half; x++) {
      digitalWrite(background[x], PATTERN_ON);
      delay(none);
      digitalWrite(background[x + half], PATTERN_ON);
      delay(minimal);

      digitalWrite(background[x], PATTERN_OFF);
      delay(none);
      digitalWrite(background[x + half], PATTERN_OFF);
      delay(none);
    }
  }
}

void blinkLetters(int times) {


    delay(ish);
}
