Added getting type of inventory control