some updates to the linegraph - not quite working yet