modif generator for support iteratorAgregate interface