setNss() should be const