   tempHumMsg.concat(temp);
   tempHumMsg.concat(",");
   tempHumMsg.concat(humidity);
-  char message_buff[tempHumMsg.length()];//TODO test that length() does not need +1 !!!!!!!!!!!!!
+  char message_buff[80];
   tempHumMsg.toCharArray(message_buff, tempHumMsg.length()+1);
-  boolean result = client.publish("arduino-weather", message_buff);
-  Serial.print("DEBUG :: Result of Weather sensor push is : ");
-    Serial.println(result);
+  client.publish("arduino-weather", message_buff);
 }
 
 String getSensorId() {
   return "need-a-sensor-id";
 }
 
-String getDHT11HumidityReadings() {
+
+void printWifiData() {
+  // print your WiFi shield's IP address:
+  IPAddress ip = WiFi.localIP();
+  Serial.print("DEBUG :: IP Address: ");
+  Serial.println(ip);
+  // print MAC address:
+  byte mac[6];
+  WiFi.macAddress(mac);
+  Serial.print("DEBUG :: MAC address: ");
+  Serial.print(mac[5], HEX);
+  Serial.print(":");
+  Serial.print(mac[4], HEX);
+  Serial.print(":");
+  Serial.print(mac[3], HEX);
+  Serial.print(":");
+  Serial.print(mac[2], HEX);
+  Serial.print(":");
+  Serial.print(mac[1], HEX);
+  Serial.print(":");
+  Serial.println(mac[0], HEX);
+    // print the SSID of the network you're attached to:
+  Serial.print("DEBUG :: SSID: ");
+  Serial.println(WiFi.SSID());
+  // print the received signal strength:
+  long rssi = WiFi.RSSI();
+  Serial.print("DEBUG :: Signal strength (RSSI):");
+  Serial.println(rssi);
+  // print the encryption type:
+  byte encryption = WiFi.encryptionType();
+  Serial.print("DEBUG :: Encryption Type:");
+  Serial.println(encryption, HEX);
+}
+
+float getDHT11HumidityReadings() {
   float h = dht.readHumidity();
   // Read temperature as Celsius
   float t = dht.readTemperature();
   // Read temperature as Fahrenheit
   float f = dht.readTemperature(true);
+  
   // Check if any reads failed and exit early (to try again).
   if (isnan(h) || isnan(t) || isnan(f)) {
     Serial.println("mmmmh!!! should put a retry count of 3 here !!! Failed to read from DHT sensor! looping!!");

  }
  delay(1000);
  
  char temp[10];
  dtostrf(temperature, 2, 2, temp);
  return temp;
}

void connectToWifi() {

  Serial.print(hi);
  Serial.println(" *F");
  delay(500);
 return h;
}

float readTemperature() {
  // read the value on AnalogIn pin 0 and store it in a variable
  int sensorVal = analogRead(sensorPin);
  // send the 10-bit sensor value out the serial port
