cachedIndex renamed into currentIndex
Comment added.