implement NNPT&NNPTEntry, make test file