compare hist