adding program to check inventory from an inventory sensor card.