added weights for positions