Removed the double try blocks here