adding bar chart