```\\nfunction addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {\\n    // approve token transfer to cover all possible scenarios\\n    _approve(address(this), address(uniswapRouter), tokenAmount);\\n\\n    // add the liquidity\\n    uniswapRouter.addLiquidityETH{value: ethAmount}(\\n        address(this),\\n        tokenAmount,\\n        0, // slippage is unavoidable\\n        0, // slippage is unavoidable\\n        owner(),\\n        block.timestamp\\n    );\\n}\\n```\\n