updated teo.php file