small changes in m_rec