Internal iterator implemented