no need to use ``else``as the ``if`` throws an exception