detail of results
Well... The outside loop works, but the inside loop only works the first time that the outside loop executes. Then ... the outside loop continues to give correct results without the corresponding results from the inside loop.
Example:
outside result 1
inside result 1
inside result 2
inside result 3
Outside result 2
inside results are missing
Outside result 3
inside results are missing
Outside result 4
inside results are missing