kenny add find_neighbor
kenny add merge code