     case 2:
       setColor(0, 0, 0);
       clearDisplayI2C();
-      counter = 0;
+      displayValue = 0;
       break;
   }  
 }
 
 
 void adjustTime() {
-  counter = potentiometerValue;
-  printCounter();
+  updateDisplay();
 }
 
 void countDown() {
-  counter--;
-  printCounter();
-  
-  if (counter == 0) {
+  displayValue--;
+  updateDisplay();
+  
+  if (displayValue == 0) {
     soupsReady();
   } else {
     delay(500);

  delay(500);
}

void printCounter() {
  // Magical sprintf creates a string for us to send to the s7s.
  //  The %4d option creates a 4-digit integer.
  sprintf(tempString, "%4d", counter);

  // This will output the tempString to the S7S
  s7sSendStringI2C(tempString);

// I2C address of our S7S
const byte s7sAddress = 0x71;

// Will be used with sprintf to create strings
char tempString[10];  


void setup()
{
  Serial.begin(9600);
  
  // Attach interrupts for rotary encoder
  attachInterrupt(0, A_RISE, RISING);
  attachInterrupt(1, B_RISE, RISING);
    
  // Enable push button in LOW state
  pinMode(buttonPin, INPUT);
  digitalWrite(buttonPin, LOW);
