add-dm support