Added the Sampling functions