made the chart work