Simplify random value generation