preparation for highcharts