random sample added