NW.cpp