local search now implemented