added dht support