add histogram tool