use local var for 'for' iter variable