implements basis of InventoryItem class