modified prov-check api