Since (as your comment points out) this variable isn't really the number of items bigger, maybe rename it? You could call it `currentIndex` or something similar.