removed duplicated line of code (nw)