restructured send_text_method