rewrite without send