added histogram of totals