added save graph