add select_history