improve verify