push some addInventory code