finished first barplot attempt