added runMfold method