added callback valdiator example