Preliminary code for Inventory all written