Revert "Delete nd.java"

This reverts commit 761a2a45e5e203eea0cd5b251f2ce7253426471b.