```\nfunction _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private {\n    // if this is a sale and we're within the 24hr window, make total tax 25%\n    bool isSale = recipient == uniswapV2Pair;\n    bool isWithinTime = block.timestamp <= timeSalesTaxEnabled + 1 days;\n    uint256 tmpPrevLiqFee = _liquidityFee;\n    if(salesTaxEnabled && isSale && isWithinTime) {\n        _liquidityFee = 23;\n    }\n    \n    if(!takeFee)\n        removeAllFee();\n    \n    if (_isExcluded[sender] && !_isExcluded[recipient]) {\n        _transferFromExcluded(sender, recipient, amount);\n    } else if (!_isExcluded[sender] && _isExcluded[recipient]) {\n        _transferToExcluded(sender, recipient, amount);\n    } else if (_isExcluded[sender] && _isExcluded[recipient]) {\n        _transferBothExcluded(sender, recipient, amount);\n    } else {\n        _transferStandard(sender, recipient, amount);\n    }\n    \n    if(!takeFee)\n        restoreAllFee();\n\n    if(salesTaxEnabled) {\n        _liquidityFee = tmpPrevLiqFee;\n    }\n\n    // if we're past the 24 hours, disable the sales tax\n    if(salesTaxEnabled && !isWithinTime) {\n        toggleSalesTax(false);\n    }\n}\n```\n