debug iteration