added key addition to accompany keyring creation so that set sid works correctly.