returning adjacency lists