upto plotting of graphs