add history peformSearch and copyToSearch