shuffle and populate table