working on auto-generation inventories