add proper histograms and barchart