add math and dm