added validation examples