added advanced search query