adding a barchart