change doverifyOrSet to doVerifyOrSet