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

  updateDisplay();
}

void countDown() {
  displayValue--;
  updateDisplay();
  


  // notes in the melody:
  int melody[] = {
    NOTE_C4, NOTE_C4, NOTE_D4, NOTE_C4, NOTE_F4, NOTE_E4 };

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

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

  char* display[] = {
    "   0",
    "   0",
    "  00",
    " 000",
    "0000",
    "0  0"
  };
  
  int numberOfNotes = sizeof(melody) / sizeof(int);
  
  // iterate over the notes of the melody:
  for (int thisNote = 0; thisNote < numberOfNotes; 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 = 1800/noteDurations[thisNote];
    Serial.println(melody[thisNote]);
    Serial.println(noteDuration);
    tone(buzzerPin, melody[thisNote], noteDuration);

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