remove DMC dependencies

and so make the code more straightforward