adjacency list + linked nodes not tested