Added sampling.