added switch.php