fixed reflection. Using time and index as seed for random number generator.