added histogram