Working version of DND.
DND First version.
Tidy up