updated comments on Graph