more dmd notes / code