added random record list generation