   return currentLightReading;
 }
 
-
-void reportNotes() {
+//Is debug on? If so print some data.
+void checkNotes(int reflectedLightValues[], boolean pluckedNotes[]) {
   if (debug) {
     for (int i = 0; i < numberNotes; i++) {
       Serial.print(i);

  for (int i = 1; i < numberNotes; i++) {
    reflectedLightValues[i] = stepTheMotorAndGetLightReading(FORWARD);
    checkSonar();
    reportNotes();
  }

  //It just read item 7. So going backwards, read items 6 through zero.
  for (int i = numberNotes-2; i >= 0; i--) {
    reflectedLightValues[i] = stepTheMotorAndGetLightReading(BACKWARD);
    checkSonar();
    reportNotes();
  }
    
  checkButtons();

   ginsingNotes[6] = (GSNote)(baseValue + 6);
}

//These two are the notes that Ginsing is currently playing.
int ginsingNote0 = -1;
int ginsingNote1 = -1;

//FirstNote and SecondNote are the notes we want to be playing.
void playNote(int firstNote, int secondNote) {

  if (debug) {
