modified to use track_inventory_levels