start on zero adjacency logic