doin adjacency matrix again