```\nfunction setSwapTokensAtAmount(uint256 _newAmount) external onlyOwner {\n    require(_newAmount > 0 && _newAmount <= (_totalSupply * 5) / 1000, "Minimum swap amount must be greater than 0 and less than 0.5% of total supply!");\n    swapTokensAtAmount = _newAmount;\n    emit SwapThresholdUpdated(swapTokensAtAmount);\n}\n```\n