This code is unnecessary, so I have removed the try block.