removed function -- graph, it's under developing