removed custom random_number function, fixed typo