Modified the loop counter for modify