Adding enableHistogram() mode