added #140 adjacency matrix