Got the sampler to work