Added attribution for weighted_choice