code reduction (nw)