what's with the `$!` argument? this is probably ignorance on my part*, but I don't understand why it's necessary

\* googling tells me it's "exception information", whatever that means