Fixing random, part 1