Worked on search history table