added callback function for naming data series