     noTone(8);
   }
  }
- 
-/*  void play_hello(){
-   int melody[] = {NOTE_F4, NOTE_A4,NOTE_B4,NOTE_F4, NOTE_A4,NOTE_B4,NOTE_F4,NOTE_A4,NOTE_B4,NOTE_E5,NOTE_D5,NOTE_B4,NOTE_C5,NOTE_B4,NOTE_G4,NOTE_E4,NOTE_D4,NOTE_E4,NOTE_G4,NOTE_E4,NOTE_F4, NOTE_A4,NOTE_B4,NOTE_F4, NOTE_A4,NOTE_B4,NOTE_F4,NOTE_A4,NOTE_B4,NOTE_E5,NOTE_D5,NOTE_B4,NOTE_C5,NOTE_B4,NOTE_G4,NOTE_E4,NOTE_D4,NOTE_E4,NOTE_G4,NOTE_E4};
-   int noteDurations[] = {8, 8, 4, 8, 8, 4, 8, 8, 8, 8, 4, 8, 8, 8, 8, 3, 8, 8, 8, 2,8,8,8,2 };
-   int song_length= sizeof(melody);
-   for (int thisNote = 0; thisNote < 20 ; thisNote++) {
-    int noteDuration = 2000/noteDurations[thisNote];
-    tone(8, melody[thisNote],noteDuration);
-    int pauseBetweenNotes = noteDuration * 1.10;
-    delay(pauseBetweenNotes);
-    noTone(8);
-  }
- }
- */
+
 /* Initialization Notes
 
 DHT22: Initialize DHT sensor for normal 16mhz Arduino

  //delay(1000);
  //Serial.print("After delay:");
  //Serial.println(sms.ready());
  }



      delay(500);
    }
  }
}

void loop() 
{
  //Once in main loop Erb LED changs to a solid green color
  colorWipe(strip.Color(0, 255, 0), 50); // Green
  char c;
  String inputcommand="";
  // Check for available SMS 
  if (sms.available())
  {
 
    // Get remote number
    sms.remoteNumber(senderNumber, 20);

    // Read message bytes and print them
    while(c=sms.read())
      inputcommand+=c;

    sms.beginSMS(senderNumber);
    delay(100);
    
    if(findWord("water",inputcommand)){
      colorWipe(strip.Color(0, 0, 255), 50);  // Blue
      activateWatering(motorPin,3);
      sms.print("Thanks for the drink!");
    }
    else if(findWord("light",inputcommand)){
