Don't think we need to use switch-case, if there is only one condition.