add work with graph