added pie charts and custom histograms