export verify func