Shouldn't this line be outside of the `try` block? Or in its own?