Added text message functionality