store algorithms about DM