implemented makeStable and actually used it