added the histogram