changed data point to variables, added labels and title to graph