Implemented local search