add mdl method