getting rid of reweighting