adding stability code to ext folder for convenience