         tone(melodyPin, NOTE_B3,noteDuration);
         delay(125);
         tone(melodyPin, NOTE_C3,noteDuration);
+        Serial.println("1");
         break;
       case '2':
         tone(melodyPin, NOTE_B3,noteDuration);
+        Serial.println("2");
         break;
       case '3':
         tone(melodyPin, NOTE_C4,noteDuration);
+        Serial.println("3");
         break;
       case '4':
         tone(melodyPin, NOTE_D4,noteDuration);
+        Serial.println("4");
         break;
       case '5':
         tone(melodyPin, NOTE_E4,noteDuration);
+        Serial.println("5");
         break;
       case '6':
         tone(melodyPin, NOTE_F4,noteDuration);
+        Serial.println("6");
         break;
       case '7':
         tone(melodyPin, NOTE_G4,noteDuration);
+        Serial.println("7");
         break;
       case '8':
         tone(melodyPin, NOTE_A4,noteDuration);
+        Serial.println("8");
         break;
       case '9':
 //        tone(melodyPin, NOTE_B4,noteDuration);
 //        int size = sizeof(underworld_melody) / sizeof(int);
         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.

     
          // stop the tone playing:
          tone(melodyPin, 0, noteDuration);
     
        }

        break;
      case '0':
//        tone(melodyPin, NOTE_C5,noteDuration);
        Serial.println(" 'Mario Theme'");

     
          // stop the tone playing:
          tone(4, 0, noteDuration);
        }
        Serial.println("0");
        break;
        
      case '*':
        count++;
        if (count%2==1)
            analogWrite(motorPin, 200); 
        else
            analogWrite(motorPin, 0);
        Serial.println("*");
        break;
      case '#':
        analogWrite(motorPin, 0);
        Serial.println("#");
        break;
      default:
        Serial.println(keyA);

    }
  }

  if (keyB){

    switch(keyB){

      case 'a':
        Serial.println("a");
        break;
      case 'b':
        Serial.println("b");
        break;
      case 'c':
        Serial.println("c");
        break;
      default:
        Serial.println(keyB);
    }
  }
}
