updated to make the same histograms as Zheng Zheng