       String stringOne = "The lumosity is: " ;
       String stringThree = stringOne + x;
       // Put code to activate motor pin here & blink light
-      sms.print(stringThree);  
+      //delay(200);
+      sms.print(stringThree);
+      delay(400);  
     }
     else if(findWord("temp",inputcommand)){
-      colorWipe(strip.Color(0, 0, 0), 50);
       char buffer[10];
       float h = dht.readHumidity();
       float f = dht.readTemperature(true); // Read temperature as Fahrenheit
       String dht_stringOne = "The temp is: " ;
       String dht_stringThree = dht_stringOne + dtostrf(f, 5, 1, buffer);
       sms.print(dht_stringThree); 
+      colorWipe(strip.Color(0, 0, 0), 50);
+      delay(400);
     }
     
     else if(findWord("hello",inputcommand)){
       sms.print("Hello my name is Erb, lets grow some plants!");
       colorWipe(strip.Color(255, 128, 255), 50);
-      delay(100);  
+      delay(400);
+        
     }
     else if(findWord("error",inputcommand)){
+      sms.print("You are experiencing an error...."); 
       colorWipe(strip.Color(255, 0, 0), 50);
-      delay(1000);
-      sms.print("You are experiencing an error....");  
+      delay(400); 
     }
-    
     else {
       sms.print("I dont know what that means :( ");
+      colorWipe(strip.Color(255, 0, 0), 50);
+      delay(400);
     }
     
     // delay and send
-    delay(250);
+    //delay(250);
     sms.endSMS(); 
     delay(100);
     

      delay(500);
    }
  }
  
  Serial.println("GSM initialized");
  Serial.println("Waiting for messages");
}

void loop() 
{
  colorWipe(strip.Color(0, 255, 0), 50); // Green
  char c;
  String inputcommand="";
  
  // If there are any SMSs available()  
  if (sms.available())
  {
    Serial.println("Message received from:");
    
    // Get remote number
    sms.remoteNumber(senderNumber, 20);
    Serial.println(senderNumber);

    // An example of message disposal    
    // Any messages starting with # should be discarded
    if(sms.peek()=='#')
    {
      Serial.println("Discarded SMS");
      sms.flush();
    }
    
    // Read message bytes and print them
    while(c=sms.read())
      inputcommand+=c;
      //Serial.print(c);
    
    //Serial.println("\nEND OF MESSAGE");
    //Serial.print("Before Flush:");
    //Serial.println(sms.ready());
    
    // Delete message from modem memory
    sms.flush();
    Serial.println("MESSAGE DELETED");
    Serial.print("After Flush:");
    Serial.println(sms.ready());
    
    // Repeat saved message
    Serial.println(inputcommand);
    
    Serial.print("Before Text:");
    Serial.println(sms.ready());
    // Send back a confirmation
    sms.beginSMS(senderNumber);
    delay(100);
    
    if(findWord("water",inputcommand)){
      // Put code to activate motor pin here & blink light
      //sms.print("Starting to Water");
      colorWipe(strip.Color(0, 0, 255), 50);  // Blue
      //delay(1000);
      //sms.endSMS(); 
      //delay(500);
      activateWatering(motorPin,5);
      //sms.beginSMS(senderNumber);
      //delay(500);
      sms.print("Thanks for the drink!");
    }
    else if(findWord("light",inputcommand)){


void setup() 
{
  pinMode( motorPin, OUTPUT); // Motor pin Setup
  strip.begin(); // Neopixel Setup
  strip.show(); // Initialize all pixels to 'off'
  colorWipe(strip.Color(255, 255, 255), 50);
  dht.begin(); // Temp Sensor (DHT22) setup
  tsl.begin(); // Light temsor 
  tsl.setGain(TSL2561_GAIN_16X); 
  tsl.setTiming(TSL2561_INTEGRATIONTIME_402MS);
  colorWipe(strip.Color(255, 255, 255), 50);

  // connection state
  boolean notConnected = true;
  // Start GSM connection
