add history search