added in check for elliptic integrals