set up match model validation