A single code is only accepted once
Key generator added