Simplified the key accepting process