Plotted histogram - attempt 2