   char c;
   String inputcommand="";
   // Check for available SMS 
-  delay(1000);
-  if (sms.available())
-  {
- 
+  //delay(1000);
+  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);
     
     if(findWord("water",inputcommand)){

      sms.print("Thanks for the drink!");
      sms.endSMS();
    }
    else if(findWord("light",inputcommand)){
      colorWipe(strip.Color(0, 0, 0), 50);    // Black/off
      uint16_t x = tsl.getLuminosity(TSL2561_VISIBLE);  

      sms.print("I dont know what that means :( ");
      delay(1000);
      sms.endSMS();
    }
    sms.flush();
    }
   }


 int findWord(String searchWord, String sentence) {
