Using adjacency indices