extract random data