Issue 77 map iteration in for each loop