[MOD] Better random using the sample function