add initial implementation of internal DMD