If array items cannot be deleted can we not use size and read till that using index instead of iterator?