After proper implementation of graph