Revert "Dummp rand()"

This reverts commit 26e2771e0e5cfdfb65fbcc590ac8c0b747217b60.