Worked on advanced search