Finished connecting getInventory