modifying three.php