validate data in example