Ever heard of `switch`? Replace this terrible block of `if`s with a `switch` statement.