Started working on the sampling module.