search works for export