basic sampler