rename 'doWork' into 'getIterator'