use weighted data set