Added history to search