This seems to be taking a nested array and doing the equivalent of a hash lookup on it. You might have been able to simplify things by having your conversions be a hash, as in the other method. `CONVERSION = { 1000 => "M", 900 => "CM", ... }` (you can use any object as the key in a hash, including numbers)