initial work on auto-generated keys