refine scheduling