added an inventory and the private key