ns for d