added dw vars