Stability theory