Stablising code