regenerating with a new key