iteration too complex..putting in rec array