modified if.php