shuffle arrays
consistency check arrays