update on if.php (adding if else statements)