```\nfunction openLoan(\n    // // rest of code\n    ) external override whenNotPaused \n    {\n    //// rest of code\n    uint256 colInUSD = priceCollateralToUSD(currencyKey, _colAmount\n                        + collateralPosted[_collateralAddress][msg.sender]);\n    uint256 totalUSDborrowed = _USDborrowed \n        +  (isoUSDLoaned[_collateralAddress][msg.sender] * virtualPrice)/LOAN_SCALE;\n        // @audit should be isoUSDLoanAndInterest[_collateralAddress][msg.sender]\n    require(totalUSDborrowed >= ONE_HUNDRED_DOLLARS, "Loan Requested too small");\n    uint256 borrowMargin = (totalUSDborrowed * minOpeningMargin) / LOAN_SCALE;\n    require(colInUSD >= borrowMargin, "Minimum margin not met!");\n\n    // // rest of code\n}\n```\n