change function header, replaced announce with dht