added histogram demo