finished the _send function