adding hist