implemented the text service