returning data for text