add sampler example