Added initInventory to improve performance.