Use an if here instead of a case statement.