Changed WeightedRandom to RandomCollection