sampler
pattern