simplify send_buffer