indexOf replaces currentQueuePosition()