updated with verify