```\n    function _isExternalLendingUnhealthy(\n        uint16 currencyId,\n        IPrimeCashHoldingsOracle oracle,\n        PrimeRate memory pr\n    ) internal view returns (bool isExternalLendingUnhealthy, OracleData memory oracleData, uint256 targetAmount) {\n// rest of code\n\n      PrimeCashFactors memory factors = PrimeCashExchangeRate.getPrimeCashFactors(currencyId);\n        Token memory underlyingToken = TokenHandler.getUnderlyingToken(currencyId);\n\n        targetAmount = ExternalLending.getTargetExternalLendingAmount(\n            underlyingToken, factors, rebalancingTargetData, oracleData, pr\n        );\n```\n