added text method