unable to check univariate function