corrected last commit which was based on older version of TetraText.php