a variable collision error with the variable name model has been corrected