   isRedButtonPressed = false;
   isGreenButtonPressed = false;
   isBlueButtonPressed = false;
-}
-
-// plays the next note based on which song is playing
-void playNextNoteInSong()
-{
-    switch(songArray[whichSong]) { // Will need to change the variable here to take user input
-        case 1 : 
-        melody1Counter = playNextNote(noteDurations1, melody1Counter, melody1, melody1Length);
-        incrementWhichSong(); // temporary -- remove later when taking user input instead
-        break;
-  
-        case 2 : 
-        melody2Counter = playNextNote(noteDurations2, melody2Counter, melody2, melody2Length);
-        incrementWhichSong(); // temporary -- remove later when taking user input instead
-        break;
-  
-        case 3 :
-        melody3Counter = playNextNote(noteDurations3, melody3Counter, melody3, melody3Length);
-        incrementWhichSong(); // temporary -- remove later when taking user input instead
-        break;
-      }    
 }
 
 // Input a value 0 to 255 to get a color value.

//const int sensor4pin = 8; // connect the first sensor to pin 8 on the Arduino Mega
//const int sensor5pin = 8; // connect the first sensor to pin 8 on the Arduino Mega

// Original Melody--------------------------------------------------------------
int melody1Code = 1;
// notes in the melody:
int melody1[] = {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 noteDurations1[] = {4, 8, 8, 4, 4, 4, 4, 4};

int melody1Length = 8;
int melody1Counter = 0;
//-------------------------------------------------------------------------------

// Hot Crossed Buns--------------------------------------------------------------
int melody2Code = 2;
int melody2[] =        {NOTE_E4, NOTE_D4, NOTE_C4, NOTE_E4, NOTE_D4, NOTE_C4, 
                        NOTE_C4, NOTE_C4, NOTE_C4, NOTE_C4, 
                        NOTE_D4, NOTE_D4, NOTE_D4, NOTE_D4, 
                        NOTE_E4, NOTE_D4, NOTE_C4};
// note durations: 4 = quarter note, 8 = eighth note, etc.:
int noteDurations2[] = {4, 4, 2, 4, 4, 2, 
                       8, 8, 8, 8, 8, 8, 8, 8, 
                       4, 4, 2};
int melody2Length = 17;
int melody2Counter = 0;
//-------------------------------------------------------------------------------

// Jasmine Flower----------------------------------------------------------------
int melody3Code = 2;
int melody3[] = {NOTE_A4, NOTE_A4, NOTE_C5, NOTE_D5, NOTE_F5, NOTE_F5, NOTE_D5, 
                       NOTE_C5, NOTE_C5, NOTE_D5, NOTE_C5, 
                       NOTE_A4, NOTE_A4, NOTE_C5, NOTE_D5, NOTE_F5, NOTE_F5, NOTE_D5, 
                       NOTE_C5, NOTE_C5, NOTE_D5, NOTE_C5,
                       NOTE_C5, NOTE_C5, NOTE_C5, NOTE_A4, NOTE_C5, NOTE_D5, NOTE_D5, NOTE_C5, 
                       NOTE_A4, NOTE_A4, NOTE_G4, NOTE_A4, NOTE_C5, NOTE_G4, NOTE_A4, 
                       NOTE_F4, NOTE_F4, NOTE_G4, NOTE_F4};

int noteDurations3[] = {4, 8, 8, 8, 8, 8, 8, 4, 8, 8, 2, 
                         4, 8, 8, 8, 8, 8, 8, 4, 8, 8, 2, 
                         4, 4, 4, 8, 8, 4, 4, 2, 
                         4, 8, 8, 8, 8, 8, 8, 4, 8, 8, 2};

int melody3Length = 41;
int melody3Counter = 0;
//-------------------------------------------------------------------------------

int long stepThreshholdRed = 3500;
int long stepThreshholdGreen = 3000;
int long stepThreshholdBlue = 2200;

CapacitiveSensor   cs_green = CapacitiveSensor(4,2);        // 10M resistor between pins 4 & 2, pin 2 is sensor pin, add a wire and or foil if desired
CapacitiveSensor   cs_red = CapacitiveSensor(13, 12);        // 10M resistor between pins 1 & 0, pin 0 is sensor pin, add a wire and or foil if desired

#define NUM_LEDS 30 // how many LEDs are used for the display
#define UPDATE_INTERVAL 100 // time between updates of light strip in ms
#define DANCE_MOVE_CREATE_INTERVAL 1000 // ms
#define MAX_DANCE_MOVES NUM_LEDS / (DANCE_MOVE_CREATE_INTERVAL / UPDATE_INTERVAL) + 2 // maximum number of dance moves at one time (+1 +1 to account for delay)
#define DANCE_ZONE_LOWER_BOUND 20 // LED 20
#define DANCE_ZONE_UPPER_BOUND 23 // LED 23
#define COLOR_MAX 64 // maximum color value (determines brightness)
