c2_nei, actual matching alg finished. Next, add manual stuff