added some analytics for csv data.