finished setting up advanced search, testing