added stablilize()