Inventory control - modifications to Dan Slimmons Oscar