in reply to Re^2: What is wrong with the code ?
in thread What is wrong with the code ?

No. %data has one iterator. %foo has one iterator.