Stabilizing code