added a few comments about potential for chi-squared here