add possibility to graph the data