Put the try/catch back in for error handling