added TextFunc headers