introduce weights for linear combination