Iterator implementation
fixed documentation