adding find_winning_frequencies