new iteration check also takes count into account