playing with graph and collections apis