added validation for new models