```\\nfunction delegateCall(\\n    address to,\\n    bytes memory data,\\n    uint256 txGas\\n) internal returns (bool success) {\\n    assembly {\\n        success := delegatecall(txGas, to, add(data, 0x20), mload(data), 0, 0)\\n    }\\n}\\n```\\n