TODO: completed m_clearchan