change set duration logic