validate example