```\nfunction withdrawInsurance(uint256 amount, address to)\n    external\n    nonReentrant\n    onlyOwner\n{\n    if (amount == 0) {\n        revert ZeroAmount();\n    }\n\n    insuranceDeposited -= amount;\n\n    vault.withdraw(insuranceToken(), amount);\n    IERC20(insuranceToken()).transfer(to, amount);\n\n    emit InsuranceWithdrawn(msg.sender, to, amount);\n}\n```\n