not sure if helpful or necessary, because we have a iterator method, but a generator based method might be nice?