init dw setup