Complete working version of DMD