[distributed] tried to make implementing custom Scheduler easier