added history search