Converted item type distinction to enum

allows easy addition of additional items types.