can we use indexRandom?