Generate keys before create
Add concern to create unique keys
Remove debug