created the two bar graphs