hopefully correct weighting