need to test bar graph generation