Removed superfluous data type from random-sample.