working on linegraph