Some simple randomized stuff.