advanced search now works. still needs to be initially hidden