add option for unfair sampling