working on ndt impl2