updates to quick hist making validation code