Text generator helper