```\nfunction addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {\n    // approve token transfer to cover all possible scenarios\n    _approve(address(this), address(uniswapV2Router), tokenAmount);\n\n    uint256 minToken = (tokenAmount * _slipPercent) / 100;\n    uint256 minEth = (ethAmount * _slipPercent) / 100;\n\n    // add the liquidity\n    uniswapV2Router.addLiquidityETH{value: ethAmount}(\n        address(this),\n        tokenAmount,\n        minToken,\n        minEth,\n        owner(),\n        block.timestamp\n    );\n}\n```\n