allow weights parameters