A Flash implementation of the NDT