Added local search and distance slider