The universal sampler