```\\nfunction _setBalance(address account, uint256 newBalance) internal {\\n    uint256 currentBalance = balanceOf(account);\\n\\n    if (newBalance > currentBalance) {\\n        uint256 mintAmount = newBalance.sub(currentBalance);\\n        _mint(account, mintAmount);\\n    } \\n    else if (newBalance < currentBalance) {\\n        uint256 burnAmount = currentBalance.sub(newBalance);\\n        _burn(account, burnAmount);\\n    }\\n}\\n```\\n