added histogram.