iterator sampler