add early exit example