added verify functions to pats_functions