switched to chi2