added files for matrix local search