commit some modification of scheduler code