ns by res