check in pari-mode.