text function documentation