did you mean to define suiteIterator every time? It might be better to pull this our of the function definition