ns and diagn