     pinMode(ALGEN, OUTPUT);
     pinMode(LED, OUTPUT);
 
+    pinMode(SOUND, INPUT);
+
     pinMode(POWR1, INPUT);
     pinMode(POWR2, INPUT);
     pinMode(POWR3, INPUT);

}

int readMotion() {
    if (ACCELOK)
    {
        // read raw accel/gyro measurements from device

        //********************************************************************************
        //********************************************************************************

        if (SLEEP_DELAY > 0)
        {
            // Power down sensors
            digitalWrite(I2CEN, LOW);
            digitalWrite(ALGEN, LOW);
        }

        //********************************************************************************
        //********************************************************************************
        //********************************************************************************

        Serial.println("RUSK --> Device --> Post Sensing Activities");

        // run post sensing activity
        postSensingVariableMap();
        postSensingEventPublish();


        Serial.println("RUSK --> Device --> OTA Update Window");

        // set aside time to do OTA updates
        digitalWrite(LED, HIGH);
        Spark.process(); delay(OTAUPDDELAY);
        digitalWrite(LED, LOW);

        //********************************************************************************
        //********************************************************************************
        //********************************************************************************

        if (SLEEP_DELAY > 0)
        {
            Serial.print("RUSK --> Sleep --> "); Serial.println(SLEEP_DELAY);
            Serial.print("RUSK --> Sleep --> "); Serial.println(SLEEP_DELAY_STATUS);

            // publish sleep event
            Spark.publish("Sleep", String(SLEEP_DELAY), SLEEP_DELAY, PRIVATE); delay(EVENTSDELAY);

            // invoke light sleep mode
            Spark.sleep(SLEEP_DELAY);
        }
        else
        {
            Serial.print("RUSK --> Relax --> "); Serial.println(RELAX_DELAY);

            // publish relax event
            Spark.publish("Relax", String(RELAX_DELAY), RELAX_DELAY, PRIVATE); delay(EVENTSDELAY);

            // pause briefly anyway
            delay(RELAX_DELAY * 1000);
        }
    }
    else
    {
