added validation language to models