added barchart stuff