Start working on key generation