some improvements to the chart