adding a key manager