       adjustTime();
       break;
     case 1:
-      setColor(255, 0, 0);
-      countDown();
+      cooking();
       break;
     case 2:
       setColor(0, 0, 0);


  // notes in the melody:
  int melody[] = {
    NOTE_C4, NOTE_G3, NOTE_G3, NOTE_A3, NOTE_G3, 0, NOTE_B3, NOTE_C4 };

  // note durations: 4 = quarter note, 8 = eighth note, etc.:
  int noteDurations[] = {
    4, 8, 8, 4, 4, 4, 4, 4 };

  int colors[][3] = {
    {255, 255, 255},
    {255, 255, 0},
    {255, 128, 0},
    {255, 0, 128},
    {255, 0, 255},
    {255, 0, 255},
    {0, 255, 255},
    {255, 255, 255},
  };

  char* display[] = {
    "   0",
    "  00",
    "  00",
    " 000",
    "0000",
    "0000",
    "0  0",
    " 00 "
  };
  
  // iterate over the notes of the melody:
  for (int thisNote = 0; thisNote < 8; thisNote++) {

    // to calculate the note duration, take one second 
    // divided by the note type.
    //e.g. quarter note = 1000 / 4, eighth note = 1000/8, etc.
    int noteDuration = 1000/noteDurations[thisNote];
    tone(buzzerPin, melody[thisNote],noteDuration);

    // Change LED color
    setColor(colors[thisNote][0], colors[thisNote][1], colors[thisNote][2]);

  updateDisplay();
}

void cooking() {
  setColor(255, 0, 0);

  displayValue--;
  updateDisplay();
  
