modify scheduler