 MqttWrapper *mqtt;
 DHT *dht;
 
-void initDht(DHT **dht, uint8_t pin, uint8_t dht_type);
-void readDht(DHT *dht, float *temp, float *humid);
+void init_dht(DHT **dht, uint8_t pin, uint8_t dht_type);
+void read_dht(DHT *dht, float *temp, float *humid);
 
 static float t_dht;
 static float h_dht; 

    delay(10);
    Serial.println("GO");

    initDht(&dht, DHTPIN, DHTTYPE);

    connectWifi();

    // mqtt = new MqttWrapper("128.199.104.122", 1883, hook_before_connect);
    mqtt = new MqttWrapper("quickstart.messaging.internetofthings.ibmcloud.com", 1883, hook_before_connect);


void hook_before_publish(JsonObject** root) {
  JsonObject& data = (*(*root))["d"];
  read_dht(dht, &t_dht, &h_dht);

  data["myName"] = "NAT";
  data["temp"] = t_dht;
