added example key management