Let's move this outside of the try block