changed iterator next access method