- made the use of $model_name and $model in the parameters consistent to prevent mismatches