added text service interface