implement JacobiP