this should simply be ``if`` as the previous ``if`` throws an exception