First implementation of a DM handler