add model validator