add validations and callbacks samples