managing prices and inventories