added validation plugin