Adding sending text. Error handling.