preparation.php modified