switch scheduler