user input version of dweight
add macro def to dweights2