corrected version

barplots changed to histogram