chisq example finished