for ... in loop with index