advanced_search basic functionality done