add validation sample