added ac search support