removed custom random_number function