finished MF with m_rec, needs testing