added three validation examples