Random sampler added.