added local search algorithm