From India, Bengaluru
If the cusip is coming once then Simple variable
If the cusip is coming more then 1 then its complex variable
If condition 2 comes then following check also required
in 2 or more cusip 1 is prime then prime will be simple
if the reset and rate is same for all then simple variable
if reset is different then directly wt complex
if reset same but rate is different then simple wt
From India, Bengaluru