adds incremental history search