iterator, pause, and resume are working