better key verification