title: Maximum value of tokens per purchase - BSC - Solidity
body: <p>I am studying a solidity code and it has the following excerpt. The maximum that can be purchased is 5 tri at a time. For me to increase the value that can be purchased at a time, should I change the values of the function &quot;numTokensSellToAddToLiquidity&quot;?</p>
  <p>In other words: I would like to have a purchase limit higher than that of 5tri, or even take it off.</p>
  <pre><code>address[] private _excluded;
  uint256 private constant MAX = ~uint256(0);
  uint256 private _tTotal = 1000000000 * 10**6 * 10**9;
  uint256 private _rTotal = (MAX - (MAX % _tTotal));
  uint256 private _tFeeTotal;
  string private _name = &quot;NAME&quot;;
  string private _symbol = &quot;NAME&quot;;
  uint8 private _decimals = 9;
  uint256 public _taxFee = 2;
  uint256 private _previousTaxFee = _taxFee;
  uint256 public _liquidityFee = 3;
  uint256 private _previousLiquidityFee = _liquidityFee;
  IUniswapV2Router02 public immutable uniswapV2Router;
  address public immutable uniswapV2Pair;
  bool inSwapAndLiquify;
  bool public swapAndLiquifyEnabled = true;
  uint256 public _maxTxAmount = 5000000 * 10**6 * 10**9;
  uint256 private numTokensSellToAddToLiquidity = 500000 * 10**6 * 10**9;
  </code></pre>