Fixed the Stability definition