added plot for local search