Obviously, you can add any fancy error-handling code you want.