Move this outside of the try