forgotten dmfthm function definition