more changes for graph