add random_number function