Hopefully polished scheduler