refinement: using funcs array to response dht query msg