These two look like prime candidates for dictionaries...