added text api