histogram toolbox is now fully working