add search history prototype.