began implementing adjacency checking