adding doing sampler