add nat, modified publickey and init