adding advanced search