global vs local search