5785d4b47f
I believe a hash is more efficient than a multiple comparison if. The code is also drier, no replication of the concatenation line of code.