random_choice d = d!!length