added choose_history guts