     //only set indices the first time
     if (animationIndex == -1)
     {
-      if (playerWasCorrect)
-      {
-        animationIndex = 0;
-        endI = 15;
-      }
-      else {
-        animationIndex = 16;
-        endI = 22;
+      if(phoneUserLost)
+      {
+        animationIndex = 12;
+        endI = 28;
+      }
+      else
+      {
+        if (playerWasCorrect)
+        {
+          animationIndex = 0;
+          endI = 5;
+        }
+        else {
+          animationIndex = 6;
+          endI = 11;
+        }
       }
     }
     //if an LED has been on and it's time to turn it off

      creatingSequence = false;
      listeningToButtons = false;
    }
  }

  if (gameOver)
  {
    Serial.println("Game Over");
    gameOver = false;
  }
  


          listeningToButtons = true;
          resetButtonLog();
        }
        else
        { 
          if (!phoneUserLost)
            Serial.println(9);

          displayResultAnimation = false;
          playerWasCorrect = true;
          
        }
      }
      timeLEDlastChanged = millis();
    }
