m_schedule stuff

too lazy to describe