deal with linear pars
allow weights
allow weights