caused iterator output to be printed to screen