added the histogram maker