added verify functions