flow chart for ModelValidator