add validation example