modified the add.php file