working on fixing linegraph