and you can use ``if`` instead of ``elseif`` a the previous ``if`` throws an exception