```\nfunction changeStablePair(address newStablePair, address newStableAddress)\n    external\n    onlyOwner\n{\n    require(\n        newStablePair != address(0) && newStableAddress != address(0),\n        "New addresses must not be the ZERO address"\n    );\n\n    stablePairAddress = newStablePair;\n    stableAddress = newStableAddress;\n    emit StablePairChanged(newStablePair, newStableAddress);\n}\n```\n