extract method to be rid of the `try`?