 const char dirRock[] = "ROCK";
 
 EasyTransfer easyTransfer;
-PlayMessage message;
+SoundMessage message;
+char currDir[] = {4};
 
 void setup() {
     Serial.begin(SERIAL_SPEED);


    // set random seed from analog noise
    randomSeed(analogRead(A0));
    easyTransfer.begin(details(message), &Music);

    // setup LED pin
    pinMode(LED_PIN, OUTPUT);


void serialEvent() {
    if (easyTransfer.receiveData()) {
        playRandomTrack(dirBaff, message.playCount);
    }
}

void loop() {

    // check playing state, and report if we've stopped
    if ( message.type > TYPE_STOP && !musicPlayer.playingMusic) {
        Serial << endl; // TODO: what does this line do?
        playRandomTrack(currDir, message.playCount);
    } else if( message.type == TYPE_STOP && musicPlayer.playingMusic ) {
        musicPlayer.stopPlaying();
    }
