Modification on Sampler.
Modification on Sampler.