build_random_function()