add dwt, array-construction