updates for NS.java