replaces sendrequest with send