change obsolete method(do_agnecy) to do_request