added close graph