version 0.2.2: new APIs for iteration