add func: send data after recv