if you use what I have above, then there should be `elsif value.is_a? Array`