moved sampler to own package