adding an escape route for errors