Fixed counter to start at position 0 of the array