Added key verification