added formating to graph