the bar chart s not working yet but added a function for it.