now just using scales in graph.py