Testing out the randomly sampling