modify Model.php