added weights for both data sets