adding verify_goodness_of_fit