integrate dmd, be more conditional
(that should be fini)