Please use `else if` to reduce the nest level.