fixed error and created Inventory file