Added function to store stability indicators