nw now works again, but only because i've used if(1) to cover the return