add the sampling