forgot to iterate iter counter