     if (subscription == &temp_subscription) {
       Serial.print(F("Got: "));
       Serial.println((char *)temp_subscription.lastread);
+    } 
+    else {
+      Serial.print(F("Got humid: "));
+      Serial.println((char *)humid_subscription.lastread);
     }
   }
  /****************************** Publish  **********************************/

  Serial.print(temp_c);
  Serial.print("...");
  if (! temp_topic.publish(temp_c)) {
    Serial.println(F("Failed"));
  } else {
    Serial.println(F("OK!"));

// Setup a feed called 'photocell' for publishing.
// Notice MQTT paths for AIO follow the form: <username>/feeds/<feedname>
Adafruit_MQTT_Publish temp_topic = Adafruit_MQTT_Publish(&mqtt, AIO_USERNAME "/feeds/temp");
Adafruit_MQTT_Publish humid_topic = Adafruit_MQTT_Publish(&mqtt, AIO_USERNAME "/feeds/humid");
/****************************** Subscriptions*********************************/
// Setup a feed called 'photocell' for subscribing to changes.
Adafruit_MQTT_Subscribe temp_subscription = Adafruit_MQTT_Subscribe(&mqtt, AIO_USERNAME "/feeds/temp");
Adafruit_MQTT_Subscribe humid_subscription = Adafruit_MQTT_Subscribe(&mqtt, AIO_USERNAME "/feeds/humid");

/***************************  MQTT Conn   ************************************/

