integrating model validation