Adding in model validation of the parameters