working on scaling the graph