modefied code.php