need to change do_proxy