adding histogram comfirmity