add determine for chi-12