adding documentation on iterator