added template for DCM class