proxy, wd, function