prepare for charts