Added regular sampling.