nds tool code