```\nfunction withdraw(uint256 amount, address payable destination) public {\n    require(\n        unbondedValue[msg.sender] >= amount,\n        "Insufficient unbonded value"\n    );\n\n    unbondedValue[msg.sender] -= amount;\n\n    (bool success, ) = destination.call.value(amount)("");\n    require(success, "Transfer failed");\n}\n```\n