random sample selection done