Stability code