adding labels to histograms and removing console statements