added quick chi-squared tests