```\nfunction \_addLiquidityFor(address \_liquidityHolderAddr, uint256 \_liquidityAmount, bool \_isLM) internal {\n  daiToken.transferFrom(\_liquidityHolderAddr, address(this), \_liquidityAmount);   \n  \n  uint256 \_amountToMint = \_liquidityAmount.mul(PERCENTAGE\_100).div(getDAIToDAIxRatio());\n  totalLiquidity = totalLiquidity.add(\_liquidityAmount);\n  \_mintERC20(\_liquidityHolderAddr, \_amountToMint);\n\n  if (\_isLM) {\n    liquidityFromLM[\_liquidityHolderAddr] = liquidityFromLM[\_liquidityHolderAddr].add(\_liquidityAmount);\n  }\n\n  \_updateWithdrawalQueue();\n\n  emit AddLiquidity(\_liquidityHolderAddr, \_liquidityAmount, totalLiquidity);\n}\n```\n