scheduling event handling modified