debugging iterator