added validation examples
added validation examples