removed usage of deprecated method verify