Rearrange the try statement