```\nfunction \_getTokensIn(uint256 spentTokenBalance) internal view returns(uint256[] memory amountsIn) {\n    amountsIn = new uint256[](2);\n\n    uint256 receivedTokenBalance = readOracle().mul(spentTokenBalance).mul(ONE\_PERCENT).div(NINETY\_NINE\_PERCENT).asUint256();\n\n    if (address(assets[0]) == tokenSpent) {\n        amountsIn[0] = spentTokenBalance;\n        amountsIn[1] = receivedTokenBalance;\n    } else {\n        amountsIn[0] = receivedTokenBalance;\n        amountsIn[1] = spentTokenBalance;\n    }\n}\n```\n