add variance weighting