made bar charts work