combined the simple search and the advanced search