put dht read into a seperate file to call from