working on broken scheduler