fixes #9; started work on stability()