more work with graph