Neighbor recognition