chi_two_wrapper works