Always use different iterators in nested loops, else you have to scratch your head for an hour finding the bug