added inventorycontrol sample.