seond revision of advanced search